home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 5.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v20 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 33 |on Mon M|ar 9 13|
|00000040| 3a 30 32 3a 34 39 20 31 | 39 39 38 0a 3b 3b 3b 20 |:02:49 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 67 6e 75 73 |s-20.3/l|isp/gnus|
|000000a0| 2f 6d 61 69 6c 68 65 61 | 64 65 72 2e 65 6c 0a 3b |/mailhea|der.el.;|
|000000b0| 3b 3b 20 65 6d 61 63 73 | 20 76 65 72 73 69 6f 6e |;; emacs| version|
|000000c0| 20 32 30 2e 34 20 22 45 | 6d 65 72 61 6c 64 22 20 | 20.4 "E|merald" |
|000000d0| 58 45 6d 61 63 73 20 20 | 4c 75 63 69 64 2e 0a 3b |XEmacs |Lucid..;|
|000000e0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000f0| 69 6f 6e 20 32 2e 32 35 | 20 58 45 6d 61 63 73 3b |ion 2.25| XEmacs;|
|00000100| 20 32 32 2d 4d 61 72 2d | 39 36 2e 0a 3b 3b 3b 20 | 22-Mar-|96..;;; |
|00000110| 6f 70 74 69 6d 69 7a 61 | 74 69 6f 6e 20 69 73 20 |optimiza|tion is |
|00000120| 6f 6e 2e 0a 3b 3b 3b 20 | 74 68 69 73 20 66 69 6c |on..;;; |this fil|
|00000130| 65 20 75 73 65 73 20 6f | 70 63 6f 64 65 73 20 77 |e uses o|pcodes w|
|00000140| 68 69 63 68 20 64 6f 20 | 6e 6f 74 20 65 78 69 73 |hich do |not exis|
|00000150| 74 20 69 6e 20 45 6d 61 | 63 73 20 31 39 2e 0a 0a |t in Ema|cs 19...|
|00000160| 28 69 66 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(if (and| (boundp|
|00000170| 20 27 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 29 | 'emacs-|version)|
|00000180| 0a 09 20 28 6f 72 20 28 | 61 6e 64 20 28 62 6f 75 |.. (or (|and (bou|
|00000190| 6e 64 70 20 27 65 70 6f | 63 68 3a 3a 76 65 72 73 |ndp 'epo|ch::vers|
|000001a0| 69 6f 6e 29 20 65 70 6f | 63 68 3a 3a 76 65 72 73 |ion) epo|ch::vers|
|000001b0| 69 6f 6e 29 0a 09 20 20 | 20 20 20 28 73 74 72 69 |ion).. | (stri|
|000001c0| 6e 67 2d 6c 65 73 73 70 | 20 65 6d 61 63 73 2d 76 |ng-lessp| emacs-v|
|000001d0| 65 72 73 69 6f 6e 20 22 | 32 30 22 29 29 29 0a 20 |ersion "|20"))). |
|000001e0| 20 20 20 28 65 72 72 6f | 72 20 22 60 6d 61 69 6c | (erro|r "`mail|
|000001f0| 68 65 61 64 65 72 2e 65 | 6c 27 20 77 61 73 20 63 |header.e|l' was c|
|00000200| 6f 6d 70 69 6c 65 64 20 | 66 6f 72 20 45 6d 61 63 |ompiled |for Emac|
|00000210| 73 20 32 30 22 29 29 0a | 0a 28 6f 72 20 28 62 6f |s 20")).|.(or (bo|
|00000220| 75 6e 64 70 20 27 63 75 | 72 72 65 6e 74 2d 6c 6f |undp 'cu|rrent-lo|
|00000230| 61 64 2d 6c 69 73 74 29 | 20 28 73 65 74 71 20 63 |ad-list)| (setq c|
|00000240| 75 72 72 65 6e 74 2d 6c | 6f 61 64 2d 6c 69 73 74 |urrent-l|oad-list|
|00000250| 20 6e 69 6c 29 29 0a 0a | 0a 28 62 79 74 65 2d 63 | nil))..|.(byte-c|
|00000260| 6f 64 65 20 22 c0 c1 21 | 88 c2 0b 42 13 c0 87 22 |ode "..!|...B..."|
|00000270| 20 5b 72 65 71 75 69 72 | 65 20 63 6c 20 68 65 61 | [requir|e cl hea|
|00000280| 64 65 72 73 20 63 75 72 | 72 65 6e 74 2d 6c 6f 61 |ders cur|rent-loa|
|00000290| 64 2d 6c 69 73 74 5d 20 | 32 29 0a 23 40 32 31 30 |d-list] |2).#@210|
|000002a0| 20 45 78 74 72 61 63 74 | 20 68 65 61 64 65 72 73 | Extract| headers|
|000002b0| 20 66 72 6f 6d 20 63 75 | 72 72 65 6e 74 20 62 75 | from cu|rrent bu|
|000002c0| 66 66 65 72 20 61 66 74 | 65 72 20 70 6f 69 6e 74 |ffer aft|er point|
|000002d0| 2e 0a 52 65 74 75 72 6e | 73 20 61 20 68 65 61 64 |..Return|s a head|
|000002e0| 65 72 20 61 6c 69 73 74 | 2c 20 77 68 65 72 65 20 |er alist|, where |
|000002f0| 65 61 63 68 20 65 6c 65 | 6d 65 6e 74 20 69 73 20 |each ele|ment is |
|00000300| 61 20 63 6f 6e 73 20 63 | 65 6c 6c 20 28 6e 61 6d |a cons c|ell (nam|
|00000310| 65 20 2e 20 76 61 6c 75 | 65 29 2c 0a 77 68 65 72 |e . valu|e),.wher|
|00000320| 65 20 4e 41 4d 45 20 69 | 73 20 61 20 73 79 6d 62 |e NAME i|s a symb|
|00000330| 6f 6c 2c 20 61 6e 64 20 | 56 41 4c 55 45 20 69 73 |ol, and |VALUE is|
|00000340| 20 74 68 65 20 73 74 72 | 69 6e 67 20 76 61 6c 75 | the str|ing valu|
|00000350| 65 20 6f 66 20 74 68 65 | 20 68 65 61 64 65 72 20 |e of the| header |
|00000360| 68 61 76 69 6e 67 0a 74 | 68 61 74 20 6e 61 6d 65 |having.t|hat name|
|00000370| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6d 61 |...(defa|lias 'ma|
|00000380| 69 6c 2d 68 65 61 64 65 | 72 2d 65 78 74 72 61 63 |il-heade|r-extrac|
|00000390| 74 20 23 5b 6e 69 6c 20 | 22 c0 60 c0 89 19 1a 1b |t #[nil |".`.....|
|000003a0| 1c 60 89 12 ab e0 c5 c0 | 77 c6 56 ab d9 67 c7 55 |.`......|w.V..g.U|
|000003b0| ab d4 60 89 11 ab cf c0 | 75 88 c8 c0 77 c6 56 ab |..`.....|u...w.V.|
|000003c0| c5 c9 5c 6e 09 7b 97 21 | 60 c0 7f 88 60 7b 43 1e |..\n.{.!|`...`{C.|
|000003d0| 5c 6e 1e 0b c0 75 88 c8 | c0 77 c6 56 ab 8d 60 c0 |\n...u..|.w.V..`.|
|000003e0| 7f 88 60 7b 0e 5c 6e 42 | 16 5c 6e aa 69 0e 5c 6e |..`{.\nB|.\n.i.\n|
|000003f0| 41 ab 8c 0e 0b cc cd 0e | 5c 6e 9f ce 23 42 aa 86 |A.......|\n..#B..|
|00000400| 0e 0b 0e 5c 6e 40 42 0c | 42 14 2a aa 1b 0b 62 88 |...\n@B.|B.*...b.|
|00000410| 0c 9f 2c 87 22 20 5b 6e | 69 6c 20 65 6e 64 20 73 |..,." [n|il end s|
|00000420| 74 61 72 74 20 74 6f 70 | 20 6d 65 73 73 61 67 65 |tart top| message|
|00000430| 2d 68 65 61 64 65 72 73 | 20 22 5e 00 2d 20 3a 22 |-headers| "^.- :"|
|00000440| 20 30 20 3f 5c 3a 20 22 | 20 09 22 20 69 6e 74 65 | 0 ?\: "| ." inte|
|00000450| 72 6e 20 76 61 6c 75 65 | 20 68 65 61 64 65 72 20 |rn value| header |
|00000460| 6d 61 70 63 6f 6e 63 61 | 74 20 69 64 65 6e 74 69 |mapconca|t identi|
|00000470| 74 79 20 22 20 22 5d 20 | 35 20 28 23 24 20 2e 20 |ty " "] |5 (#$ . |
|00000480| 36 37 33 29 5d 29 0a 23 | 40 32 33 30 20 45 78 74 |673)]).#|@230 Ext|
|00000490| 72 61 63 74 20 68 65 61 | 64 65 72 73 20 66 72 6f |ract hea|ders fro|
|000004a0| 6d 20 63 75 72 72 65 6e | 74 20 62 75 66 66 65 72 |m curren|t buffer|
|000004b0| 20 61 66 74 65 72 20 70 | 6f 69 6e 74 2c 20 77 69 | after p|oint, wi|
|000004c0| 74 68 6f 75 74 20 70 72 | 6f 70 65 72 74 69 65 73 |thout pr|operties|
|000004d0| 2e 0a 52 65 74 75 72 6e | 73 20 61 20 68 65 61 64 |..Return|s a head|
|000004e0| 65 72 20 61 6c 69 73 74 | 2c 20 77 68 65 72 65 20 |er alist|, where |
|000004f0| 65 61 63 68 20 65 6c 65 | 6d 65 6e 74 20 69 73 20 |each ele|ment is |
|00000500| 61 20 63 6f 6e 73 20 63 | 65 6c 6c 20 28 6e 61 6d |a cons c|ell (nam|
|00000510| 65 20 2e 20 76 61 6c 75 | 65 29 2c 0a 77 68 65 72 |e . valu|e),.wher|
|00000520| 65 20 4e 41 4d 45 20 69 | 73 20 61 20 73 79 6d 62 |e NAME i|s a symb|
|00000530| 6f 6c 2c 20 61 6e 64 20 | 56 41 4c 55 45 20 69 73 |ol, and |VALUE is|
|00000540| 20 74 68 65 20 73 74 72 | 69 6e 67 20 76 61 6c 75 | the str|ing valu|
|00000550| 65 20 6f 66 20 74 68 65 | 20 68 65 61 64 65 72 20 |e of the| header |
|00000560| 68 61 76 69 6e 67 0a 74 | 68 61 74 20 6e 61 6d 65 |having.t|hat name|
|00000570| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6d 61 |...(defa|lias 'ma|
|00000580| 69 6c 2d 68 65 61 64 65 | 72 2d 65 78 74 72 61 63 |il-heade|r-extrac|
|00000590| 74 2d 6e 6f 2d 70 72 6f | 70 65 72 74 69 65 73 20 |t-no-pro|perties |
|000005a0| 23 5b 6e 69 6c 20 22 c0 | c1 c2 20 5c 22 87 22 20 |#[nil ".|.. \"." |
|000005b0| 5b 6d 61 70 63 61 72 20 | 23 5b 28 65 6c 74 29 20 |[mapcar |#[(elt) |
|000005c0| 22 c0 c1 5c 6e 41 47 c3 | 5c 6e 41 24 88 5c 6e 87 |"..\nAG.|\nA$.\n.|
|000005d0| 22 20 5b 73 65 74 2d 74 | 65 78 74 2d 70 72 6f 70 |" [set-t|ext-prop|
|000005e0| 65 72 74 69 65 73 20 30 | 20 65 6c 74 20 6e 69 6c |erties 0| elt nil|
|000005f0| 5d 20 35 5d 20 6d 61 69 | 6c 2d 68 65 61 64 65 72 |] 5] mai|l-header|
|00000600| 2d 65 78 74 72 61 63 74 | 5d 20 33 20 28 23 24 20 |-extract|] 3 (#$ |
|00000610| 2e 20 31 31 36 35 29 5d | 29 0a 23 40 33 33 35 20 |. 1165)]|).#@335 |
|00000620| 41 70 70 6c 79 20 50 41 | 52 53 49 4e 47 2d 52 55 |Apply PA|RSING-RU|
|00000630| 4c 45 53 20 74 6f 20 48 | 45 41 44 45 52 53 2e 0a |LES to H|EADERS..|
|00000640| 50 41 52 53 49 4e 47 2d | 52 55 4c 45 53 20 69 73 |PARSING-|RULES is|
|00000650| 20 61 6e 20 61 6c 69 73 | 74 20 77 68 6f 73 65 20 | an alis|t whose |
|00000660| 6b 65 79 73 20 61 72 65 | 20 68 65 61 64 65 72 20 |keys are| header |
|00000670| 6e 61 6d 65 73 20 28 73 | 79 6d 62 6f 6c 73 29 20 |names (s|ymbols) |
|00000680| 61 6e 64 20 77 68 6f 73 | 65 0a 76 61 6c 75 65 20 |and whos|e.value |
|00000690| 69 73 20 61 20 70 61 72 | 73 69 6e 67 20 66 75 6e |is a par|sing fun|
|000006a0| 63 74 69 6f 6e 2e 20 20 | 54 68 65 20 66 75 6e 63 |ction. |The func|
|000006b0| 74 69 6f 6e 20 74 61 6b | 65 73 20 6f 6e 65 20 61 |tion tak|es one a|
|000006c0| 72 67 75 6d 65 6e 74 2c | 20 61 20 73 74 72 69 6e |rgument,| a strin|
|000006d0| 67 2c 0a 61 6e 64 20 72 | 65 74 75 72 6e 20 61 20 |g,.and r|eturn a |
|000006e0| 6c 69 73 74 20 6f 66 20 | 76 61 6c 75 65 73 2c 20 |list of |values, |
|000006f0| 77 68 69 63 68 20 77 69 | 6c 6c 20 64 65 73 74 72 |which wi|ll destr|
|00000700| 75 63 74 69 76 65 6c 79 | 20 72 65 70 6c 61 63 65 |uctively| replace|
|00000710| 20 74 68 65 20 76 61 6c | 75 65 0a 61 73 73 6f 63 | the val|ue.assoc|
|00000720| 69 61 74 65 64 20 77 69 | 74 68 20 74 68 65 20 6b |iated wi|th the k|
|00000730| 65 79 20 69 6e 20 48 45 | 41 44 45 52 53 2c 20 61 |ey in HE|ADERS, a|
|00000740| 66 74 65 72 20 62 65 69 | 6e 67 20 70 72 65 70 65 |fter bei|ng prepe|
|00000750| 6e 64 65 64 20 77 69 74 | 68 20 74 68 65 20 6f 72 |nded wit|h the or|
|00000760| 69 67 69 6e 61 6c 0a 76 | 61 6c 75 65 2e 1f 0a 28 |iginal.v|alue...(|
|00000770| 64 65 66 61 6c 69 61 73 | 20 27 6d 61 69 6c 2d 68 |defalias| 'mail-h|
|00000780| 65 61 64 65 72 2d 70 61 | 72 73 65 20 23 5b 28 70 |eader-pa|rse #[(p|
|00000790| 61 72 73 69 6e 67 2d 72 | 75 6c 65 73 20 68 65 61 |arsing-r|ules hea|
|000007a0| 64 65 72 73 29 20 22 08 | c1 1a 89 1b ab ae 0b 40 |ders) ".|.......@|
|000007b0| 89 12 40 0c b7 89 1d ab | 9c 0d 41 3a ab 8c 0d 41 |..@.....|..A:...A|
|000007c0| 5c 6e 41 0d 41 40 21 a1 | 88 aa 8b 0d 89 41 5c 6e |\nA.A@!.|.....A\n|
|000007d0| 41 0d 41 21 42 a1 88 29 | 0b 41 89 13 ac 52 2a 0c |A.A!B..)|.A...R*.|
|000007e0| 87 22 20 5b 70 61 72 73 | 69 6e 67 2d 72 75 6c 65 |." [pars|ing-rule|
|000007f0| 73 20 6e 69 6c 20 72 75 | 6c 65 20 2d 2d 64 6f 6c |s nil ru|le --dol|
|00000800| 69 73 74 2d 74 65 6d 70 | 2d 2d 38 37 37 30 38 20 |ist-temp|--87708 |
|00000810| 68 65 61 64 65 72 73 20 | 68 65 61 64 65 72 5d 20 |headers |header] |
|00000820| 35 20 28 23 24 20 2e 20 | 31 35 36 38 29 5d 29 0a |5 (#$ . |1568)]).|
|00000830| 23 40 33 35 33 20 52 65 | 74 75 72 6e 20 74 68 65 |#@353 Re|turn the|
|00000840| 20 76 61 6c 75 65 20 61 | 73 73 6f 63 69 61 74 65 | value a|ssociate|
|00000850| 64 20 77 69 74 68 20 68 | 65 61 64 65 72 20 48 45 |d with h|eader HE|
|00000860| 41 44 45 52 20 69 6e 20 | 48 45 41 44 45 52 2d 41 |ADER in |HEADER-A|
|00000870| 4c 49 53 54 2e 0a 49 66 | 20 74 68 65 20 76 61 6c |LIST..If| the val|
|00000880| 75 65 20 69 73 20 61 20 | 73 74 72 69 6e 67 2c 20 |ue is a |string, |
|00000890| 69 74 20 69 73 20 74 68 | 65 20 6f 72 69 67 69 6e |it is th|e origin|
|000008a0| 61 6c 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |al value| of the |
|000008b0| 68 65 61 64 65 72 2e 20 | 20 49 66 20 74 68 65 0a |header. | If the.|
|000008c0| 76 61 6c 75 65 20 69 73 | 20 61 20 6c 69 73 74 2c |value is| a list,|
|000008d0| 20 69 74 73 20 66 69 72 | 73 74 20 65 6c 65 6d 65 | its fir|st eleme|
|000008e0| 6e 74 20 69 73 20 74 68 | 65 20 6f 72 69 67 69 6e |nt is th|e origin|
|000008f0| 61 6c 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |al value| of the |
|00000900| 68 65 61 64 65 72 2c 0a | 77 69 74 68 20 61 6e 79 |header,.|with any|
|00000910| 20 73 75 62 73 65 71 75 | 65 6e 74 20 65 6c 65 6d | subsequ|ent elem|
|00000920| 65 6e 74 73 20 62 65 69 | 6e 67 20 74 68 65 20 72 |ents bei|ng the r|
|00000930| 65 73 75 6c 74 20 6f 66 | 20 70 61 72 73 69 6e 67 |esult of| parsing|
|00000940| 20 74 68 65 20 76 61 6c | 75 65 2e 0a 49 66 20 48 | the val|ue..If H|
|00000950| 45 41 44 45 52 2d 41 4c | 49 53 54 20 69 73 20 6e |EADER-AL|IST is n|
|00000960| 69 6c 2c 20 74 68 65 20 | 64 79 6e 61 6d 69 63 61 |il, the |dynamica|
|00000970| 6c 6c 79 20 62 6f 75 6e | 64 20 76 61 72 69 61 62 |lly boun|d variab|
|00000980| 6c 65 20 60 68 65 61 64 | 65 72 73 27 20 69 73 20 |le `head|ers' is |
|00000990| 75 73 65 64 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |used...(|defalias|
|000009a0| 20 27 6d 61 69 6c 2d 68 | 65 61 64 65 72 20 23 5b | 'mail-h|eader #[|
|000009b0| 28 68 65 61 64 65 72 20 | 26 6f 70 74 69 6f 6e 61 |(header |&optiona|
|000009c0| 6c 20 68 65 61 64 65 72 | 2d 61 6c 69 73 74 29 20 |l header|-alist) |
|000009d0| 22 08 09 ae 81 5c 6e b7 | 41 87 22 20 5b 68 65 61 |"....\n.|A." [hea|
|000009e0| 64 65 72 20 68 65 61 64 | 65 72 2d 61 6c 69 73 74 |der head|er-alist|
|000009f0| 20 68 65 61 64 65 72 73 | 5d 20 32 20 28 23 24 20 | headers|] 2 (#$ |
|00000a00| 2e 20 32 31 30 32 29 5d | 29 0a 28 62 79 74 65 2d |. 2102)]|).(byte-|
|00000a10| 63 6f 64 65 20 22 c0 c1 | 4e c2 73 ac 85 c3 c4 c0 |code "..|N.s.....|
|00000a20| 5c 22 88 c5 c0 c1 c6 23 | 87 22 20 5b 6d 61 69 6c |\".....#|." [mail|
|00000a30| 2d 68 65 61 64 65 72 20 | 62 79 74 65 2d 6f 70 74 |-header |byte-opt|
|00000a40| 69 6d 69 7a 65 72 20 28 | 6e 69 6c 20 62 79 74 65 |imizer (|nil byte|
|00000a50| 2d 63 6f 6d 70 69 6c 65 | 2d 69 6e 6c 69 6e 65 2d |-compile|-inline-|
|00000a60| 65 78 70 61 6e 64 29 20 | 65 72 72 6f 72 20 22 25 |expand) |error "%|
|00000a70| 73 20 61 6c 72 65 61 64 | 79 20 68 61 73 20 61 20 |s alread|y has a |
|00000a80| 62 79 74 65 2d 6f 70 74 | 69 6d 69 7a 65 72 2c 20 |byte-opt|imizer, |
|00000a90| 63 61 6e 27 74 20 6d 61 | 6b 65 20 69 74 20 69 6e |can't ma|ke it in|
|00000aa0| 6c 69 6e 65 22 20 70 75 | 74 20 62 79 74 65 2d 63 |line" pu|t byte-c|
|00000ab0| 6f 6d 70 69 6c 65 2d 69 | 6e 6c 69 6e 65 2d 65 78 |ompile-i|nline-ex|
|00000ac0| 70 61 6e 64 5d 20 34 29 | 0a 23 40 31 39 31 20 53 |pand] 4)|.#@191 S|
|00000ad0| 65 74 20 74 68 65 20 76 | 61 6c 75 65 20 61 73 73 |et the v|alue ass|
|00000ae0| 6f 63 69 61 74 65 64 20 | 77 69 74 68 20 68 65 61 |ociated |with hea|
|00000af0| 64 65 72 20 48 45 41 44 | 45 52 20 74 6f 20 56 41 |der HEAD|ER to VA|
|00000b00| 4c 55 45 20 69 6e 20 48 | 45 41 44 45 52 2d 41 4c |LUE in H|EADER-AL|
|00000b10| 49 53 54 2e 0a 48 45 41 | 44 45 52 2d 41 4c 49 53 |IST..HEA|DER-ALIS|
|00000b20| 54 20 64 65 66 61 75 6c | 74 73 20 74 6f 20 74 68 |T defaul|ts to th|
|00000b30| 65 20 64 79 6e 61 6d 69 | 63 61 6c 6c 79 20 62 6f |e dynami|cally bo|
|00000b40| 75 6e 64 20 76 61 72 69 | 61 62 6c 65 20 60 68 65 |und vari|able `he|
|00000b50| 61 64 65 72 73 27 20 69 | 66 20 6e 69 6c 2e 0a 53 |aders' i|f nil..S|
|00000b60| 65 65 20 60 6d 61 69 6c | 2d 68 65 61 64 65 72 27 |ee `mail|-header'|
|00000b70| 20 66 6f 72 20 74 68 65 | 20 73 65 6d 61 6e 74 69 | for the| semanti|
|00000b80| 63 73 20 6f 66 20 56 41 | 4c 55 45 2e 1f 0a 28 64 |cs of VA|LUE...(d|
|00000b90| 65 66 61 6c 69 61 73 20 | 27 6d 61 69 6c 2d 68 65 |efalias |'mail-he|
|00000ba0| 61 64 65 72 2d 73 65 74 | 20 23 5b 28 68 65 61 64 |ader-set| #[(head|
|00000bb0| 65 72 20 76 61 6c 75 65 | 20 26 6f 70 74 69 6f 6e |er value| &option|
|00000bc0| 61 6c 20 68 65 61 64 65 | 72 2d 61 6c 69 73 74 29 |al heade|r-alist)|
|00000bd0| 20 22 08 ae 81 09 1a 0b | 5c 6e b7 89 1c ab 86 0c | "......|\n......|
|00000be0| 0d a1 88 aa 87 5c 6e 0b | 0d 42 43 a4 88 2a 0d 87 |.....\n.|.BC..*..|
|00000bf0| 22 20 5b 68 65 61 64 65 | 72 2d 61 6c 69 73 74 20 |" [heade|r-alist |
|00000c00| 68 65 61 64 65 72 73 20 | 61 6c 69 73 74 20 68 65 |headers |alist he|
|00000c10| 61 64 65 72 20 65 6e 74 | 72 79 20 76 61 6c 75 65 |ader ent|ry value|
|00000c20| 5d 20 34 20 28 23 24 20 | 2e 20 32 37 36 37 29 5d |] 4 (#$ |. 2767)]|
|00000c30| 29 0a 28 70 75 74 20 27 | 6d 61 69 6c 2d 68 65 61 |).(put '|mail-hea|
|00000c40| 64 65 72 20 27 73 65 74 | 66 2d 6d 65 74 68 6f 64 |der 'set|f-method|
|00000c50| 20 23 5b 28 68 65 61 64 | 65 72 20 26 6f 70 74 69 | #[(head|er &opti|
|00000c60| 6f 6e 61 6c 20 68 65 61 | 64 65 72 2d 61 6c 69 73 |onal hea|der-alis|
|00000c70| 74 29 20 22 c0 c1 21 1a | c0 c3 21 1c c0 c5 21 1e |t) "..!.|..!...!.|
|00000c80| 06 5c 6e 0c 44 0e 07 0e | 08 44 0e 06 43 5c 6e 1e |.\n.D...|.D..C\n.|
|00000c90| 07 0c 1e 08 0e 06 1e 09 | ca 0e 07 0e 09 0e 08 46 |........|.......F|
|00000ca0| 2b cb 5c 6e 0c 45 af 05 | 2b 87 22 20 5b 67 65 6e |+.\n.E..|+." [gen|
|00000cb0| 73 79 6d 20 22 2d 2d 68 | 65 61 64 65 72 2d 2d 22 |sym "--h|eader--"|
|00000cc0| 20 2d 2d 68 65 61 64 65 | 72 2d 2d 74 65 6d 70 2d | --heade|r--temp-|
|00000cd0| 2d 20 22 2d 2d 68 65 61 | 64 65 72 2d 61 6c 69 73 |- "--hea|der-alis|
|00000ce0| 74 2d 2d 22 20 2d 2d 68 | 65 61 64 65 72 2d 61 6c |t--" --h|eader-al|
|00000cf0| 69 73 74 2d 2d 74 65 6d | 70 2d 2d 20 22 2d 2d 76 |ist--tem|p-- "--v|
|00000d00| 61 6c 75 65 2d 2d 22 20 | 2d 2d 76 61 6c 75 65 2d |alue--" |--value-|
|00000d10| 2d 74 65 6d 70 2d 2d 20 | 68 65 61 64 65 72 20 68 |-temp-- |header h|
|00000d20| 65 61 64 65 72 2d 61 6c | 69 73 74 20 76 61 6c 75 |eader-al|ist valu|
|00000d30| 65 20 6d 61 69 6c 2d 68 | 65 61 64 65 72 2d 73 65 |e mail-h|eader-se|
|00000d40| 74 20 6d 61 69 6c 2d 68 | 65 61 64 65 72 5d 20 37 |t mail-h|eader] 7|
|00000d50| 5d 29 0a 23 40 34 38 35 | 20 52 65 74 75 72 6e 20 |]).#@485| Return |
|00000d60| 61 20 6e 65 77 20 68 65 | 61 64 65 72 20 61 6c 69 |a new he|ader ali|
|00000d70| 73 74 20 77 69 74 68 20 | 4d 45 52 47 45 2d 52 55 |st with |MERGE-RU|
|00000d80| 4c 45 53 20 61 70 70 6c | 69 65 64 20 74 6f 20 48 |LES appl|ied to H|
|00000d90| 45 41 44 45 52 53 2e 0a | 4d 45 52 47 45 2d 52 55 |EADERS..|MERGE-RU|
|00000da0| 4c 45 53 20 69 73 20 61 | 6e 20 61 6c 69 73 74 20 |LES is a|n alist |
|00000db0| 77 68 6f 73 65 20 6b 65 | 79 73 20 61 72 65 20 68 |whose ke|ys are h|
|00000dc0| 65 61 64 65 72 20 6e 61 | 6d 65 73 20 28 73 79 6d |eader na|mes (sym|
|00000dd0| 62 6f 6c 73 29 20 61 6e | 64 20 77 68 6f 73 65 0a |bols) an|d whose.|
|00000de0| 76 61 6c 75 65 73 20 61 | 72 65 20 66 6f 72 6d 73 |values a|re forms|
|00000df0| 20 74 6f 20 65 76 61 6c | 75 61 74 65 2c 20 74 68 | to eval|uate, th|
|00000e00| 65 20 72 65 73 75 6c 74 | 73 20 6f 66 20 77 68 69 |e result|s of whi|
|00000e10| 63 68 20 61 72 65 20 74 | 68 65 20 6e 65 77 20 68 |ch are t|he new h|
|00000e20| 65 61 64 65 72 73 2e 20 | 20 49 74 0a 73 68 6f 75 |eaders. | It.shou|
|00000e30| 6c 64 20 62 65 20 61 20 | 73 74 72 69 6e 67 20 6f |ld be a |string o|
|00000e40| 72 20 61 20 6c 69 73 74 | 20 6f 66 20 73 74 72 69 |r a list| of stri|
|00000e50| 6e 67 2e 20 20 54 68 65 | 20 66 69 72 73 74 20 65 |ng. The| first e|
|00000e60| 6c 65 6d 65 6e 74 20 6d | 61 79 20 62 65 20 6e 69 |lement m|ay be ni|
|00000e70| 6c 20 74 6f 0a 64 65 6e | 6f 74 65 20 74 68 61 74 |l to.den|ote that|
|00000e80| 20 74 68 65 20 66 6f 72 | 6d 61 74 74 69 6e 67 20 | the for|matting |
|00000e90| 66 75 6e 63 74 69 6f 6e | 73 20 6d 75 73 74 20 75 |function|s must u|
|00000ea0| 73 65 20 74 68 65 20 72 | 65 6d 61 69 6e 69 6e 67 |se the r|emaining|
|00000eb0| 20 65 6c 65 6d 65 6e 74 | 73 2c 20 6f 72 0a 73 6b | element|s, or.sk|
|00000ec0| 69 70 20 74 68 65 20 68 | 65 61 64 65 72 20 61 6c |ip the h|eader al|
|00000ed0| 74 6f 67 65 74 68 65 72 | 20 69 66 20 74 68 65 72 |together| if ther|
|00000ee0| 65 20 61 72 65 20 6e 6f | 20 6f 74 68 65 72 20 65 |e are no| other e|
|00000ef0| 6c 65 6d 65 6e 74 73 2e | 0a 20 20 54 68 65 20 6d |lements.|. The m|
|00000f00| 61 63 72 6f 20 60 6d 61 | 69 6c 2d 68 65 61 64 65 |acro `ma|il-heade|
|00000f10| 72 27 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |r' can b|e used t|
|00000f20| 6f 20 61 63 63 65 73 73 | 20 68 65 61 64 65 72 73 |o access| headers|
|00000f30| 20 69 6e 20 48 45 41 44 | 45 52 53 2e 1f 0a 28 64 | in HEAD|ERS...(d|
|00000f40| 65 66 61 6c 69 61 73 20 | 27 6d 61 69 6c 2d 68 65 |efalias |'mail-he|
|00000f50| 61 64 65 72 2d 6d 65 72 | 67 65 20 23 5b 28 6d 65 |ader-mer|ge #[(me|
|00000f60| 72 67 65 2d 72 75 6c 65 | 73 20 68 65 61 64 65 72 |rge-rule|s header|
|00000f70| 73 29 20 22 c0 c1 5c 6e | 5c 22 87 22 20 5b 6d 61 |s) "..\n|\"." [ma|
|00000f80| 70 63 61 72 20 23 5b 28 | 72 75 6c 65 29 20 22 08 |pcar #[(|rule) ".|
|00000f90| 40 c1 08 41 21 42 87 22 | 20 5b 72 75 6c 65 20 65 |@..A!B."| [rule e|
|00000fa0| 76 61 6c 5d 20 33 5d 20 | 6d 65 72 67 65 2d 72 75 |val] 3] |merge-ru|
|00000fb0| 6c 65 73 5d 20 33 20 28 | 23 24 20 2e 20 33 34 31 |les] 3 (|#$ . 341|
|00000fc0| 37 29 5d 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |7)]).(by|te-code |
|00000fd0| 22 c0 c1 21 ac 82 c2 11 | c1 0b 42 13 c0 87 22 20 |"..!....|..B..." |
|00000fe0| 5b 62 6f 75 6e 64 70 20 | 6d 61 69 6c 2d 68 65 61 |[boundp |mail-hea|
|00000ff0| 64 65 72 2d 66 6f 72 6d | 61 74 2d 66 75 6e 63 74 |der-form|at-funct|
|00001000| 69 6f 6e 20 23 5b 28 68 | 65 61 64 65 72 20 76 61 |ion #[(h|eader va|
|00001010| 6c 75 65 29 20 22 c0 c1 | 5c 6e 21 21 c3 0c 3a ab |lue) "..|\n!!..:.|
|00001020| 84 0c 40 aa 81 0c c5 b1 | 04 87 22 20 5b 63 61 70 |..@.....|.." [cap|
|00001030| 69 74 61 6c 69 7a 65 20 | 73 79 6d 62 6f 6c 2d 6e |italize |symbol-n|
|00001040| 61 6d 65 20 68 65 61 64 | 65 72 20 22 3a 20 22 20 |ame head|er ": " |
|00001050| 76 61 6c 75 65 20 22 5c | 6e 22 5d 20 34 20 22 46 |value "\|n"] 4 "F|
|00001060| 75 6e 63 74 69 6f 6e 20 | 74 6f 20 66 6f 72 6d 61 |unction |to forma|
|00001070| 74 20 68 65 61 64 65 72 | 73 20 77 69 74 68 6f 75 |t header|s withou|
|00001080| 74 20 61 20 73 70 65 63 | 69 66 69 65 64 20 66 6f |t a spec|ified fo|
|00001090| 72 6d 61 74 74 69 6e 67 | 20 66 75 6e 63 74 69 6f |rmatting| functio|
|000010a0| 6e 2e 22 5d 20 63 75 72 | 72 65 6e 74 2d 6c 6f 61 |n."] cur|rent-loa|
|000010b0| 64 2d 6c 69 73 74 5d 20 | 32 29 0a 23 40 36 31 36 |d-list] |2).#@616|
|000010c0| 20 55 73 65 20 46 4f 52 | 4d 41 54 2d 52 55 4c 45 | Use FOR|MAT-RULE|
|000010d0| 53 20 74 6f 20 66 6f 72 | 6d 61 74 20 48 45 41 44 |S to for|mat HEAD|
|000010e0| 45 52 53 20 61 6e 64 20 | 69 6e 73 65 72 74 20 69 |ERS and |insert i|
|000010f0| 6e 74 6f 20 63 75 72 72 | 65 6e 74 20 62 75 66 66 |nto curr|ent buff|
|00001100| 65 72 2e 0a 46 4f 52 4d | 41 54 2d 52 55 4c 45 53 |er..FORM|AT-RULES|
|00001110| 20 69 73 20 61 6e 20 61 | 6c 69 73 74 20 77 68 6f | is an a|list who|
|00001120| 73 65 20 6b 65 79 73 20 | 61 72 65 20 68 65 61 64 |se keys |are head|
|00001130| 65 72 20 6e 61 6d 65 73 | 20 28 73 79 6d 62 6f 6c |er names| (symbol|
|00001140| 73 29 2c 20 61 6e 64 20 | 77 68 6f 73 65 0a 76 61 |s), and |whose.va|
|00001150| 6c 75 65 73 20 61 72 65 | 20 66 75 6e 63 74 69 6f |lues are| functio|
|00001160| 6e 73 20 74 68 61 74 20 | 66 6f 72 6d 61 74 20 74 |ns that |format t|
|00001170| 68 65 20 68 65 61 64 65 | 72 2c 20 74 68 65 20 72 |he heade|r, the r|
|00001180| 65 73 75 6c 74 73 20 6f | 66 20 77 68 69 63 68 20 |esults o|f which |
|00001190| 61 72 65 0a 69 6e 73 65 | 72 74 65 64 2c 20 75 6e |are.inse|rted, un|
|000011a0| 6c 65 73 73 20 69 74 20 | 69 73 20 6e 69 6c 2e 20 |less it |is nil. |
|000011b0| 20 54 68 65 20 66 75 6e | 63 74 69 6f 6e 20 74 61 | The fun|ction ta|
|000011c0| 6b 65 73 20 74 77 6f 20 | 61 72 67 75 6d 65 6e 74 |kes two |argument|
|000011d0| 73 2c 20 74 68 65 20 68 | 65 61 64 65 72 0a 73 79 |s, the h|eader.sy|
|000011e0| 6d 62 6f 6c 2c 20 61 6e | 64 20 74 68 65 20 76 61 |mbol, an|d the va|
|000011f0| 6c 75 65 20 6f 66 20 74 | 68 61 74 20 68 65 61 64 |lue of t|hat head|
|00001200| 65 72 2e 20 20 49 66 20 | 74 68 65 20 66 75 6e 63 |er. If |the func|
|00001210| 74 69 6f 6e 20 69 74 73 | 65 6c 66 20 69 73 20 6e |tion its|elf is n|
|00001220| 69 6c 2c 20 74 68 65 0a | 64 65 66 61 75 6c 74 20 |il, the.|default |
|00001230| 61 63 74 69 6f 6e 20 69 | 73 20 74 6f 20 69 6e 73 |action i|s to ins|
|00001240| 65 72 74 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |ert the |value of|
|00001250| 20 74 68 65 20 68 65 61 | 64 65 72 2c 20 75 6e 6c | the hea|der, unl|
|00001260| 65 73 73 20 69 74 20 69 | 73 20 6e 69 6c 2e 0a 54 |ess it i|s nil..T|
|00001270| 68 65 20 68 65 61 64 65 | 72 73 20 61 72 65 20 69 |he heade|rs are i|
|00001280| 6e 73 65 72 74 65 64 20 | 69 6e 20 74 68 65 20 6f |nserted |in the o|
|00001290| 72 64 65 72 20 6f 66 20 | 74 68 65 20 46 4f 52 4d |rder of |the FORM|
|000012a0| 41 54 2d 52 55 4c 45 53 | 2e 0a 41 20 6b 65 79 20 |AT-RULES|..A key |
|000012b0| 6f 66 20 74 20 72 65 70 | 72 65 73 65 6e 74 73 20 |of t rep|resents |
|000012c0| 61 6e 79 20 6f 74 68 65 | 72 77 69 73 65 20 75 6e |any othe|rwise un|
|000012d0| 6d 65 6e 74 69 6f 6e 65 | 64 20 68 65 61 64 65 72 |mentione|d header|
|000012e0| 73 2e 0a 41 20 6b 65 79 | 20 6f 66 20 6e 69 6c 20 |s..A key| of nil |
|000012f0| 68 61 73 20 61 73 20 69 | 74 73 20 76 61 6c 75 65 |has as i|ts value|
|00001300| 20 61 20 6c 69 73 74 20 | 6f 66 20 64 65 66 61 75 | a list |of defau|
|00001310| 6c 74 65 64 20 68 65 61 | 64 65 72 73 20 74 6f 20 |lted hea|ders to |
|00001320| 69 67 6e 6f 72 65 2e 1f | 0a 28 64 65 66 61 6c 69 |ignore..|.(defali|
|00001330| 61 73 20 27 6d 61 69 6c | 2d 68 65 61 64 65 72 2d |as 'mail|-header-|
|00001340| 66 6f 72 6d 61 74 20 23 | 5b 28 66 6f 72 6d 61 74 |format #|[(format|
|00001350| 2d 72 75 6c 65 73 20 68 | 65 61 64 65 72 73 29 20 |-rules h|eaders) |
|00001360| 22 c0 c1 5c 6e b7 41 c3 | c4 5c 6e 5c 22 5c 22 1d |"..\n.A.|.\n\"\".|
|00001370| 5c 6e c1 1e 06 89 1e 07 | 83 a3 00 0e 07 40 89 16 |\n......|.....@..|
|00001380| 06 40 89 1e 08 c1 1e 09 | 89 1e 08 0e 09 ae 82 0e |.@......|........|
|00001390| 5c 6e b7 41 2a 1e 0b 0e | 08 ab e5 0e 08 cc 61 ab |\n.A*...|......a.|
|000013a0| c3 0e 5c 6e c1 1e 0d 89 | 1e 0e ab b6 0e 0e 40 89 |..\n....|......@.|
|000013b0| 16 0d 40 0d 73 ac a3 0e | 0d 40 1e 08 0e 0d 41 1e |..@.s...|.@....A.|
|000013c0| 0b 0e 06 41 ab 8b 0e 06 | 41 0e 08 0e 0b 5c 22 88 |...A....|A....\".|
|000013d0| aa 88 0e 0f 0e 08 0e 0b | 5c 22 88 2a 0e 0e 41 89 |........|\".*..A.|
|000013e0| 16 0e ac 4a 2a aa 9c 0e | 0b ab 98 0e 06 41 ab 8b |...J*...|.....A..|
|000013f0| 0e 06 41 0e 08 0e 0b 5c | 22 88 aa 88 0e 0f 0e 08 |..A....\|".......|
|00001400| 0e 0b 5c 22 88 2a 0e 07 | 41 89 16 07 84 15 00 2a |..\".*..|A......*|
|00001410| d0 63 29 87 22 20 5b 61 | 70 70 65 6e 64 20 6e 69 |.c)." [a|ppend ni|
|00001420| 6c 20 66 6f 72 6d 61 74 | 2d 72 75 6c 65 73 20 6d |l format|-rules m|
|00001430| 61 70 63 61 72 20 63 61 | 72 20 69 67 6e 6f 72 65 |apcar ca|r ignore|
|00001440| 20 72 75 6c 65 20 2d 2d | 64 6f 6c 69 73 74 2d 74 | rule --|dolist-t|
|00001450| 65 6d 70 2d 2d 38 37 37 | 31 35 20 68 65 61 64 65 |emp--877|15 heade|
|00001460| 72 20 68 65 61 64 65 72 | 2d 61 6c 69 73 74 20 68 |r header|-alist h|
|00001470| 65 61 64 65 72 73 20 76 | 61 6c 75 65 20 74 20 64 |eaders v|alue t d|
|00001480| 65 66 61 75 6c 74 65 64 | 20 2d 2d 64 6f 6c 69 73 |efaulted| --dolis|
|00001490| 74 2d 74 65 6d 70 2d 2d | 38 37 37 31 36 20 6d 61 |t-temp--|87716 ma|
|000014a0| 69 6c 2d 68 65 61 64 65 | 72 2d 66 6f 72 6d 61 74 |il-heade|r-format|
|000014b0| 2d 66 75 6e 63 74 69 6f | 6e 20 22 5c 6e 22 5d 20 |-functio|n "\n"] |
|000014c0| 35 20 28 23 24 20 2e 20 | 34 32 38 39 29 5d 29 0a |5 (#$ . |4289)]).|
|000014d0| 28 70 72 6f 76 69 64 65 | 20 27 6d 61 69 6c 68 65 |(provide| 'mailhe|
|000014e0| 61 64 65 72 29 0a | |ader). | |
+--------+-------------------------+-------------------------+--------+--------+